//
//  FestivalModel.m
//  代号：47
//
//  Created by 杨佩璋 on 15/6/30.
//  Copyright (c) 2015年 杨佩璋. All rights reserved.
//

#import "FestivalModel.h"



@implementation FestivalModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        [self setValue:value forKey:@"des"];
    }
    
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"ID"];
    }
    
    if ([key isEqualToString:@"time"]) {
        [self setValue:value forKey:@"publishTime"];
    }
    
    
}






-(void)dealloc
{
    [_ID release];
    [_type release];
    [_publishTime release];
    [_commentCount release];
    [_des release];
    [_title release];
    [_title2 release];
    [_image release];
    [_images release];
    [super dealloc];
}
@end
